<template>
  <div>
    <div class="frame">
      <div class="content">
        <div class="content-title">
          <slot name="contitle"></slot>
          <div class="title_bottom"></div>
        </div>
        <div class="content-text">
          <div class="text">
            <slot name="text"></slot>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Frame",
}
</script>

<style lang="less" scoped>
.content{
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.3);
  max-width: 1240px;
  margin: 30px auto;
  min-height: 400px;
  .content-title{
    padding-top: 2px;
    text-align: center;
    .title_bottom {
      height: 5px;
      border-radius: 100%;
      background: -webkit-linear-gradient(left, #0072d836, #0072d8, #0072d836);
    }
  }
  .content-text{
    padding-bottom: 20px;
    margin:40px 7% 0px 7%;
    font-size: 17px;
    line-height: 200%;
  }
}
@media screen and (max-width: 850px) {
.content {
  margin-top: 10px;
  width: 90%;
  .content-title{
    padding-top: 1px;
  }
  .title {
    font-size: 20px;
  }
  .content-text{
    margin-top: 30px;
    .text {
      h3{
        font-weight: 600;
        font-size: 18px;
      }
      p{
        font-size: 14px!important;
      }
    }
  }

}
}
</style>
